package org.game.graphics;

import java.util.Comparator;

import org.game.obj.GWObject;

public class SortByY implements Comparator<GWObject> {
	
	@Override
	public int compare(GWObject obj1, GWObject obj2) {
		return (int)(obj1.getY() - obj2.getY());
	}
}
